Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 20 - QuickDraw 3D Mathematical Utilities / QuickDraw 3D Mathematical Utilities Reference
QuickDraw 3D Mathematical Utilities / Managing Bounding Spheres


Q3BoundingSphere_Copy

You can use the Q3BoundingSphere_Copy function to make a copy of a bounding sphere.

TQ3BoundingSphere *Q3BoundingSphere_Copy (
const TQ3BoundingSphere *src, 
TQ3BoundingSphere *dest);
src
A pointer to the bounding sphere to be copied.
dest
On entry, a pointer to a buffer large enough to hold a bounding sphere. On exit, a pointer to a copy of the bounding sphere specified by the src parameter.
DESCRIPTION
The Q3BoundingSphere_Copy function returns, as its function result and in the dest parameter, a copy of the bounding sphere specified by the src parameter. Q3BoundingSphere_Copy does not allocate any memory for the destination bounding sphere; the dest parameter must point to space allocated in the heap or on the stack before you call Q3BoundingSphere_Copy.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996